/*
IPHONE x -11 12适配 
使用时用@include x-padding-bottom()
*/
@mixin x-padding-bottom($val: 0px) {
  padding-bottom: $val;
  padding-bottom: calc(#{$val} + constant(safe-area-inset-bottom)); /* no */
  padding-bottom: calc(#{$val} + env(safe-area-inset-bottom)); /* no */
}
@mixin x-padding-top($val: 0px) {
  padding-top: $val;
  padding-top: calc(#{$val} + constant(safe-area-inset-top)); /* no */
  padding-top: calc(#{$val} + env(safe-area-inset-top)); /* no */
}
